package com.bwie.auth.feign;

import com.bwie.common.domain.User;
import com.bwie.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient("bwie-system")
public interface UserFeignService {
    @PostMapping("/user/findByUserPhone/{phone}")
    public Result<User> findByUserPhone(@PathVariable("phone") String phone);
}
